import request from "@/utils/request";
export const reqNews = (params) => {
  return request({
    url: "http://localhost:9527/news",
    method: "get",
    params,
  });
};

export const deleteNews = (params) => {
  return request({
    url: `http://localhost:9527/news/${params}`,
    method: "delete",
  });
};
